<!--公共开始-->
<include file="./public" />
<!--公共结束-->
<title>7min理财</title>
<script type="text/javascript">
$(function() {
	mainHeight();
    imgError();
})


function imgError()
{
$('img').error(function(){
//alert('error');
$(this).attr('src','__ROOT__/images/know_cover.jpg'); 
}); 
}

</script>
</head>

<body>
<!--头部+顶部开始-->
<include file="./top" />
<!--头部+顶部结束-->

<!--主体开始-->
<div class="main-content">
    <div class="left70 left">
        
        <!--文章列表-->
        <div class="hot_list">
            <ul>
                
                <?php if($topItem):?>
                <li class="show_one">
                    <div class="card">
                        <div class="card_img">
                            <a href="__URL__/knowledgecont/id/{$topItem['id']}">
                                <img src="__ROOT__/Uploads/Knowledge_cover/{$topItem['headimg']}" class="" alt="{$topItem['title']}">
                            </a>
                        </div>
                        <div class="card_info">
                            <h3>
                                <a href="__URL__/knowledgecont/id/{$topItem['id']}" target="_blank">   
                                    {$topItem['title']}
                                </a>
                            </h3>
                            <p class="time">
                                <?php if ($topItem['timeshow'] != null){
                                    echo $topItem['timeshow'];
                                }else{
                                    echo $topItem['addtime'];
                                }
                                ?>
                                &nbsp;&nbsp;<?php echo $topItem['personshow'];?>
                             </p>
                            <p>{$topItem['summary']}</p>
                         </div>
                     </div>
                </li>
                <?php endif;?>

             <?php foreach($ArticleList as $k => $v):?>
                <li class="show_two">
                    <div class="card">
                        <div class="card_img">
                            <a href="__URL__/knowledgecont/id/{$v['id']}" target="_blank">   
                                <img src="__ROOT__/Uploads/Knowledge_cover/{$v['headimg']}" />
                            </a>
                        </div>
                        <div class="card_info">
                            <h3>
                                <a href="__URL__/knowledgecont/id/{$v['id']}" target="_blank">{$v['title']}</a>
                            </h3>
                            <p class="time">
                                <?php if ($v['timeshow'] != null){
                                    echo $v['timeshow'];
                                }else{
                                    echo $v['addtime'];
                                }
                                ?>
                                &nbsp;&nbsp;<?php echo $v['personshow'];?>
                            </p>
                            <p>{$v['summary']}</p>
                         </div>
                     </div>
                </li>
             <?php endforeach?>

            </ul>
        </div>
        <div class="clear"></div>
        <!--翻页-->
        <div class="pagination">
            <div class="left">{$page}</div>

            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </div>
    <div class="right30 right">
        <!--右菜单 开始-->
		<div class="panel">
        	<!--<div class="panel-head"><a href="__URL__/knowledge/t/99" <?php if ($typeid == 99) {?> style='color:#ff6c60' <?php }?> ><i class="fa fa-newspaper-o text-danger"></i>&nbsp;新闻</a></div>-->
            <div class="panel-head"><a href="__URL__/knowledge/t/k" <?php if ($typeid == k) {?> style='color:#ff6c60' <?php }?>><i class="fa fa-magic text-danger"></i>&nbsp;知识中心</a></div>
            <div class="panel-body left_nav">
            	<ul>
                 	<?php foreach($type as $k => $v):?>
                 	<li <?php if ($typeid == $k) {?> class='on' <?php }?> ><a href="__URL__/knowledge/t/<?php echo $k;?>"><i class="fa fa-angle-right"></i><?php echo $v;?></a></li>
                    <?php endforeach?>
                </ul>
            
            </div>
        </div>
        <!--右菜单 结束-->
    </div>
    <div class="clear"></div>
</div>
<!--主体结束-->
<!--底部开始-->
<include file="./foot" />
<!--底部结束-->
</body>
</html>
